﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace WindowsGame1
{
    class Balle
    {
        public Rectangle Position { get; set; }
        public Texture2D Texture { get; set; }

        public Point Direction { get; set; }

        public Balle(Texture2D texture)
        {
            Position = new Rectangle(200, 200,texture.Width,texture.Height);
            Texture = texture;
            Direction = new Point(3, 3);

        }
    }
}
